﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chapter_4
{
    class BaseClass
    {
        private int myName;
        public void ShowValue()
        {
            Console.WriteLine("This is base class function");
        }

        public virtual void MyMethod()
        {
            Console.WriteLine("base class virtual function");
        }

        public BaseClass()
        {

        }
    }
}
